#ifndef APP_CLI_CONSOLE_H
#define APP_CLI_CONSOLE_H

#include "lpc17xx.h"

#include "FreeRTOS.h"
#include "FreeRTOS_CLI.h"


#define CONS_BUF_SIZE 300
extern uint8_t cons_cmd_buf[CONS_BUF_SIZE];
extern uint32_t cons_cmd_buf_len;
extern uint8_t cons_out_buf[CONS_BUF_SIZE];
extern uint32_t cons_out_buf_len;

extern uint8_t cons_echo_mode;

void cons_init(void);
extern void cons_set_echo_mode(uint8_t mode);


#endif //APP_CLI_CONSOLE_H
